package com.xiaozhi.assistant;

import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

@AiService(wiringMode =EXPLICIT,
            chatModel = "qwenChatModel",
            chatMemory = "chatMemory")
public interface MemoryChatAssistant {

    @UserMessage("你是我的好朋友请用四川话回答问题，{{it}}")
    String chat(String userMessage);
}
